import static org.junit.Assert.*;

import java.util.Calendar;
import java.util.GregorianCalendar;
import java.util.TimeZone;

import org.junit.Test;

// JUnit Test #2 (Allan)  -- this is also verified by JUnit :)  
public class CapitolReefGUITest2 {

	@Test
	public void testGMTAdjustment() {
		
		// Get the difference of hours from GMT
		Calendar cal = new GregorianCalendar();
		TimeZone timeZone = cal.getTimeZone();
	    int ZONE_OFFSET = timeZone.getRawOffset();
	    int GMT_Adjust = ZONE_OFFSET / 3600000;
	    
	    int expectedValue = -10; // GMT -10 for Pacific/Honolulu Timezone
	    int result = GMT_Adjust; // 
	    
	    assertEquals(expectedValue, result); // TRUE
	
	}

}
